package com.yunkazaixian.syntelecom.mapper;

import com.yunkazaixian.syntelecom.entity.McSimDx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 手机卡 Mapper 接口
 * </p>
 *
 * @author Lin
 * @since 2024-03-21
 */
@Repository
public interface McSimDxMapper extends BaseMapper<McSimDx> {

    /**
     * 批量插入或更新会话记录
     */
    void batchUpdate(@Param("records") List<McSimDx> records);


    /**
     * 单条插入或更新会话记录
     */
    void updateByIccid(@Param("record") McSimDx record);
}
